#pragma once

#include "Includes.h"

class IClientEntityList
{
public:
	// Get IClientNetworkable interface for specified entity
	virtual /*IClientNetworkable*/DWORD	GetClientNetworkable( int entnum ) = 0;
	virtual /*IClientNetworkable*/DWORD	GetClientNetworkableFromHandle( /*CBaseHandle*/LPVOID hEnt ) = 0;
	virtual /*IClientUnknown*/DWORD		GetClientUnknownFromHandle( /*CBaseHandle*/LPVOID hEnt ) = 0;

	// NOTE: This function is only a convenience wrapper.
	// It returns GetClientNetworkable( entnum )->GetIClientEntity().
	virtual Entity*		GetClientEntity( int entnum ) = 0;
	virtual Entity*		GetClientEntityFromHandle( /*CBaseHandle*//*LPVOID*/CBaseHandle hEnt ) = 0;

	// Returns number of entities currently in use
	virtual int					NumberOfEntities( bool bIncludeNonNetworkable ) = 0;

	// Returns highest index actually used
	virtual int					GetHighestEntityIndex( void ) = 0;

};